package com.nw.dao;

import com.nw.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface UserDao {
    User queryByUsername(String username);
    User queryByUserPhone(String phone);
    /**
     * 添加用户
     * */
    void add(User user);

    List<User> queryByUsernameLeftJoinLike(String username);

}
